namespace PrismNavigationFramework.Infrastructure
{
    public interface IModuleNameTranslationService
    {
        string GetRealModuleName(string urlFriendlyModuleName);
    }

    public class ModuleNameTranslationService : IModuleNameTranslationService
    {
        public ModuleNameTranslationService()
        {
            this.ModuleNameFormat = "{0}Module.InitModule";
        }

        public string ModuleNameFormat { get; set; }
       

        public string GetRealModuleName(string urlFriendlyModuleName)
        {
            return string.Format(ModuleNameFormat, urlFriendlyModuleName);
        }
    }
}